<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "bus_member_health".
 *
 * @property string $health_id
 * @property string $member_id
 * @property integer $attr_id
 * @property string $attr_name
 */
class BusMemberHealth extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'bus_member_health';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['member_id', 'attr_id'], 'integer'],
            [['attr_name'], 'string', 'max' => 255]
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'health_id' => 'Health ID',
            'member_id' => 'Member ID',
            'attr_id' => 'Attr ID',
            'attr_name' => 'Attr Name',
        ];
    }
}
